home comics writing pictures archive about

TypeCache.h

Language: C++
Last Modified: 2022-08-18 12:03:01 AM UTC
File Size: 297 bytes
http://www.penguinstew.ca/example/CodeFormater/TypeCache.h
#pragma once
#include <vector>
#include "Type.h"
#include "Lang.h"
class TypeCache
{
private:
std::vector<Type> types;
std::vector<Lang> langs;
public:
TypeCache();
Type LoadLanguage(std::string type);
Lang* FindStartLang(std::string line, int pos, TypeIdPair typeId);
};
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17